package org.lma;

public class Lemma implements Comparable<Lemma> {

	private int begin;
	private int length;
	private String text;
	
	public Lemma() {
		
	}

	public Lemma(int begin, int length, String text) {
		super();
		this.begin = begin;
		this.length = length;
		this.text = text;
	}

	public int getBegin() {
		return begin;
	}

	public void setBegin(int begin) {
		this.begin = begin;
	}

	public int getLength() {
		return length;
	}

	public void setLength(int length) {
		this.length = length;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	@Override
	public int compareTo(Lemma o) {
		
		return 0;
	}
	
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("[begin=").append(begin).append(", len=").append(length).append("]");
		return builder.toString();
	}
}
